import {Switch,Redirect,Route} from "react-router-dom";
import Home from "./Views/home"
import Login from "./Views/login"
import Registry from "./Views/registry"
import './App.css';

function App() {
  return (
    <div className="App">
      <Switch>
        
        <Route path="/login" component={Login}/>
        <Route path="/registry" component={Registry}/>
        <Route path="/home" component={Home}/>
        <Redirect from="/" to="/login" />
      </Switch>
      
    </div>
  );
}

export default App;
